<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%String path = request.getContextPath(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>${sessionScope.SESSION_STREET_THEME.thSiteTitle}</title>
	<link href="<%=path %>/res/themes/layout/layout.css" rel="stylesheet" type="text/css"/>
	<link href="<%=path %>/res/themes/layout/complaint.css" rel="stylesheet" type="text/css"/>
	<link href="<%=path %>/res/themes/${sessionScope.SESSION_STREET_THEME.thStyle}/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="<%=path %>/res/themes/${sessionScope.SESSION_STREET_THEME.thStyle}/css/complaint.css" rel="stylesheet" type="text/css"/>
	<link href="<%=path %>/pages/inc/themes.jsp" rel="stylesheet" type="text/css"/>
	
	<script type="text/javascript" src="<%=path %>/res/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path %>/res/js/common.js"></script>
	<script type="text/javascript" src="<%=path %>/pages/js/complaint.js"></script>
</head>
<body>
<input type="hidden" id="message" value="${message}"/>
<input type="hidden" id="webPath" value="<%=path %>/<s:property value="domain"/>"/>
<div class="page">
	<div class="header">
		<%@ include file="inc/header.jsp"%>
	</div>
	<div class="body">
		<div class="msg-detail">
			<div class="current-pos">当前位置：首页 > 投诉上报 </div>

			<div class="msg-comment">我要投诉上报 </div>
			<div class="comment-box">
				<div class="comment-input">
					<form name="form1" method="post" action="<%=path %>/<s:property value="domain"/>/complaint!submit.action" >
					<table cellpadding="2" cellspacing="5" border="0">
						<tr>
							<td align="right" width="25%">姓名：</td>
							<td>
								<input id="id_author" name="complaintBean.queAuthor" maxlength="20" class="text" type="text"
								value="<s:property value="complaintBean.queAuthor"/>"/>
								<span class="red-span">*</span>
							</td>
							<td align="right" width="25%">身份证号码：</td>
							<td>
								<input id="id_idcard" name="complaintBean.authorIdcard" maxlength="20" class="text" type="text"
								value="<s:property value="complaintBean.authorIdcard"/>"/>
								<span class="red-span">*</span>
							</td>
						</tr>
						<tr>
							<td align="right">手机号码：</td>
							<td>
								<input id="id_phone" name="complaintBean.authorPhone" maxlength="15" class="text" type="text"
								value="<s:property value="complaintBean.authorPhone"/>"/>
								<span class="red-span">*</span>
							</td>
							<td align="right">固定电话号码：</td>
							<td>
								<input id="id_tel" name="complaintBean.authorTel" maxlength="20" class="text" type="text"
								value="<s:property value="complaintBean.authorTel"/>"/>
							</td>
						</tr>
						<tr>
							<td align="right">电子邮箱：</td>
							<td>
								<input id="id_email" name="complaintBean.authorEmail" maxlength="60" class="text" type="text"
								value="<s:property value="complaintBean.authorEmail"/>"/>
							</td>
							<td align="right">投诉上报类型：</td>
							<td>
								<select name="complaintBean.queType" style="width: 158px">
									<s:iterator value="queTypeLs" status="index">
									<option value="<s:property value="queType"/>" <s:if test='complaintBean.queType == queType'>selected="selected"</s:if>>
										<s:property value="queTypeName"/>
									</option>
									</s:iterator>
								</select>
							</td>
						</tr>
						<tr>
							<td align="right">服务条线：</td>
							<td>
								<select id="id_servLine" name="complaintBean.servLine" 
								onchange="changeServLine(this.value)" style="width: 158px">
									<s:iterator value="servLineLs" status="index">
									<option value="<s:property value="servLine"/>" <s:if test='complaintBean.servLine== servLine'>selected="selected"</s:if>>
										<s:property value="servLineName"/>
									</option>
									</s:iterator>
								</select>
							</td>
							<td align="right">服务子条线：</td>
							<td>
								<select id="id_servSubline" name="complaintBean.servSubline" style="width: 158px">
									<s:iterator value="subServLineLs" status="index">
									<option value="<s:property value="servSubline"/>" <s:if test='complaintBean.servSubline== servSubline'>selected="selected"</s:if>>
										<s:property value="servSublineName"/>
									</option>
									</s:iterator>
								</select>
							</td>
						</tr>
						<tr>
							<td align="right">家庭地址：</td>
							<td colspan="3">
								<input id="id_authorAddr" name="complaintBean.authorAddr" maxlength="25" style="width: 482px" class="text" type="text"
								value="<s:property value="complaintBean.authorAddr"/>"/>
								<span class="red-span">*</span>
							</td>
						</tr>
						<tr>
							<td align="right">投诉上报地址：</td>
							<td colspan="3">
								<input id="id_queAddr" name="complaintBean.queAddr" maxlength="25" style="width: 482px" class="text" type="text"
								value="<s:property value="complaintBean.queAddr"/>"/>
								<span class="red-span">*</span>
							</td>
						</tr>
						<tr>
							<td align="right">投诉上报内容：</td>
							<td colspan="3">
								<textarea id="id_queContent" name="complaintBean.queContent" class="textarea" 
								style="width: 482px"><s:property value="complaintBean.queContent"/></textarea>
								<span class="red-span">*</span>
							</td>
						</tr>
						<tr>
							<td>验证码：</td>
							<td colspan="3">
								<input id="id_vcode" name="vCode" maxlength="4" style="width: 60px" class="text" type="text"/> 
								<img id="vImg" src="<%=path %>/rand" style="vertical-align: bottom;cursor:pointer;" title="点击更换图片" alt="点击更换图片" onclick="changeValidateCode()" />
								[<a onclick="changeValidateCode()" href="javascript:void(0);">看不清楚，换一张?</a>]
							</td>
						</tr>
						<tr>
							<td></td>
							<td colspan="3"><input id="submit_btn" class="sbumit" type="button" value="提交"/></td>
						</tr>
					</table>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div class="footer">
		<%@ include file="inc/footer.jsp"%>
	</div>
</div>
</body>
</html>